package com.story.api.config;

import com.story.api.moduler.song.task.SongCountTask;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Administrator
 * @decription
 * @Date 2017-12-14 15:50
 */
@Configuration
@EnableScheduling
public class SchedulingConfig {

    @Bean
    public SongCountTask getSongCountTask() {
        return new SongCountTask();
    }
}
